#! /bin/bash

if [ -z $SEMINER_ROOT ];
then SEMINER_ROOT=`pwd`
fi

case $1 in 
    "de-raw")
	tr "\t" ' ' | cut -d' ' -f1 |\
            $SEMINER_ROOT/bin/augment brown False \
	    $SEMINER_ROOT/data/seminer/deu.eci.unlabeled.500+1000.classes |\
            $SEMINER_ROOT/bin/sequor predict \
	    $SEMINER_ROOT/data/seminer/deu.train.lrec-2010-raw.model
	;;
    "de-full")
	tr "\t" ' ' | cut -d' ' -f1,2,3,4 |\
	    $SEMINER_ROOT/bin/augment brown False \
	    $SEMINER_ROOT/data/seminer/deu.eci.unlabeled.500+1000.classes |\
            $SEMINER_ROOT/bin/sequor predict \
	    $SEMINER_ROOT/data/seminer/deu.train.lrec-2010.model
	;;
    "en")
	tr "\t" ' ' | cut -d' ' -f1 |\
            $SEMINER_ROOT/bin/augment brown False \
	    $SEMINER_ROOT/data/seminer/nant.c5.500.topics.classes |\
            $SEMINER_ROOT/bin/sequor predict \
	    $SEMINER_ROOT/data/seminer/bbn-wsj-22-rate-0.001-beam-10-iter-10-hash-relationfactory-2013.model
	;;
esac
